package edu.zju.gis.dldsj.mapper;

import edu.zju.gis.dldsj.base.BaseMapper;
import edu.zju.gis.dldsj.model.Dem;

import java.util.List;

public interface DemMapper extends BaseMapper<Dem, String> {
    Dem selectByPrimaryKey(String pkId);

    List<Dem> selectByResTitle(String resTitle);

    int insertBatch(List<Dem> records);

    int insert(Dem record);

    int insertSelective(Dem record);

    int updateByPrimaryKeySelective(Dem record);

    int updateByPrimaryKey(Dem record);

    int updateIndex(Dem record);

    int deleteByPrimaryKey(String pkId);
}